package com.itheima.day01.homework6;

public class Manager extends Person{
    private String salary;
    public Manager() {
    }

    @Override
    public void neiRong() {
        System.out.println();
    }

    public Manager(String id, String name, int age,String salary) {
        super(id, name, age);
        this.salary=salary;
    }

    public String getSalary() {
        return salary;
    }

    public void setSalary(String salary) {
        this.salary = salary;
    }
}
